// 封装存储方式 localStorage  sessionStorage  cookie

// 本地存储
export const setStorage = (key, value) => {
  return localStorage.setItem(key, value)
}

// 获取本地存储
export const getStorage = (key) => {
  return localStorage.getItem(key)
}

// 删除本地存储
export const removeStorage = (key) => {
  localStorage.removeItem(key)
}
